package com.zkzx.common.freight.command;

import com.zkzx.common.freight.model.OrderDeliveryVO;
import com.zkzx.common.freight.model.OrderItemVO;
import com.zkzx.common.freight.model.OrderLogisticsVO;
import com.zkzx.common.freight.model.OrderPayableVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 北京中科智兴物联科技有限公司 @版权所有
 * @Author: zhaoyihe@zkraising.com
 * @Date: 2021/05/12/20:40
 * @Description: 运单信息入参
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OrderCommand", description = "运单信息入参")
public class OrderCommand  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "id", example = "10086")
    private Integer id;

    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id", name = "company_id",example = "10086")
    private Integer companyId;

    /**
     * CID
     */
    @ApiModelProperty(value = "订单cid", example = "setayd202105085555")
    private String cid;

    /**
     * 运单号
     */
    @ApiModelProperty(value = "运单号", name = "code",example = "2020121820000011")
    private String code;

    /**
     * 押运单照片
     */
    @ApiModelProperty(value = "押运单照片", name = "escort_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String escortPic;

    /**
     *装货照片
     */
    @ApiModelProperty(value = "装货照片", name = "load_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String loadPic;

    /**
     *签收照片
     */
    @ApiModelProperty(value = "签收照片", name = "sign_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String signPic;

    /**
     *卸货照片
     */
    @ApiModelProperty(value = "卸货照片", name = "discharg_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String dischargePic;

    /**
     * 司机id
     */
    @ApiModelProperty(value = "司机id", name = "driver_id",example = "10086")
    private String driverId;

    /**
     * 司机姓名
     */
    @ApiModelProperty(value = "name", name = "driver_name",example = "张三")
    private String driverName;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id",name = "truck_id",example = "10086")
    private String truckId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号",name = "truck_code",example = "京A88888")
    private String truckCode;

    /**
     * 货运保险单号
     */
    @ApiModelProperty(value = "货运保险单号",name = "insurance_code",example = "bx202005088888888")
    private String insuranceCode;

    /**
     *超限证照片
     */
    @ApiModelProperty(value = "超限证照片", name = "overrun_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String overrunPic;

    /**
     *备注
     */
    @ApiModelProperty(value = "备注", example = "备注")
    private String remark;

    /**
     *状态
     */
    @ApiModelProperty(value = "NO_SUBMIT", example = "未提交")
    private String status;

    /**
     *异常原因
     */
    @ApiModelProperty(value = "异常原因注", example = "车辆异常")
    private String reason;

    /**
     *发起时间
     */
    @ApiModelProperty(value = "发起时间", name = "submit_time", example = "2021-03-15 17:36")
    private String submitTime;

    /**
     * 订单信息-货物内容
     */
    @ApiModelProperty(value = "订单信息-货物内容", name = "order_item_vo")
    private OrderItemVO orderItemVO;

    /**
     * 订单信息-发货方信息收货信息
     */
    @ApiModelProperty(value = "订单信息-发货方信息收货信息", name = "order_delivery_vo")
    private OrderDeliveryVO orderDeliveryVO;

    /**
     * 运单轨迹
     */
    @ApiModelProperty(value = "运单轨迹", name = "order_Logisticss")
    private List<OrderLogisticsVO> orderLogisticss;

    /**
     *  运费信息
     */
    @ApiModelProperty(value = "运费信息", name = "order_Payable_vo")
    private OrderPayableVO orderPayableVO;


    /**
     * 三方系统唯一标识
     */
    @ApiModelProperty(value = "三方系统唯一标识", name = "three_id", example = "1412831857606692")
    private String threeId;
}
